//
//  UIController.h
//  SMP
//
//  Created by Shappy Say on 5/2/13.
//  Copyright (c) 2013 HSBC. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "STAAlertView.h"

@interface UIController : NSObject

+(void)showLoading:(UIView *)view;
+(void)hideLoading;

+(void)showProgress:(float)percentage message:(NSString *)message inView:(UIView *)view;
+(void)hideProgress;

+ (void)showAlertWithTitle:(NSString *)title message:(NSString *)message cancelButton:(NSString *)cancelButtonTitle okButton:(NSString *)okButtonTitle inView:(UIView *)view delegate:(id<STAAlertViewDelegate>)delegate;
+ (void)showDownloadAlertWithTitle:(NSString *)title cancelButton:(NSString *)cancelButtonTitle inView:(UIView *)view delegate:(id<STAAlertViewDelegate>)delegate;

@end
